<?php
/*由bean脚本生成 powerBy--joe*/
namespace app\common\bean;
class DistributionBean extends BaseBean
{

	static $id = 'id'; //
	static $distance = 'distance'; //距离（单位：米）
	static $price = 'price'; //费用(如果是0，不配送)
	static $storeId = 'store_id'; //0平台默认设置

	static $tableName = 'distribution';
	static $alias = 'DistributionBean';

		
	public function getId(){
		return $this->getParameter(self::$id);
	}

	public function setId($id){
		$this->setParameter('id',$id);
	}

	public function getDistance(){
		return $this->getParameter(self::$distance);
	}

	public function setDistance($distance){
		$this->setParameter('distance',$distance);
	}

	public function getPrice(){
		return $this->getParameter(self::$price);
	}

	public function setPrice($price){
		$this->setParameter('price',$price);
	}

	public function getStoreId(){
		return $this->getParameter(self::$storeId);
	}

	public function setStoreId($storeId){
		$this->setParameter('store_id',$storeId);
	}


}
